if(!this.getItem('frmOperation').isValid()){
    return;
}

this.saveData();